package com.egg.logger.model.response;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "日志访问分页")
public class AccessInfo extends BaseResponse {


    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "服务器")
    private String server;

    @ApiModelProperty(value = "方法")
    private String method;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "请求头")
    private String headers;

    @ApiModelProperty(value = "参数")
    private String parameter;


}
